<template>
  <div class="header">
    <div class="header-left">
      <span class="iconfont icon-back">&#xe624;</span>
    </div>
    <div class="header-input">
      <span class="iconfont">&#xe632;</span>
      输入城市/景点/游玩主题
    </div>
    <div class="header-right">
      <span>城市</span>
      <span class="iconfont icon-arrow">&#xe64a;</span>
    </div>
  </div>
</template>

<script>
export default {
  name: "HomeHeader",
};
</script>

<style lang="stylus" scoped>
@import '~assets/css/varibles.styl'
.header
  display flex
  text-align center
  line-height 0.86rem
  background $bgColor
  color #fff
  .header-left
    width 0.64rem
    .icon-back
      text-align center
  .header-input
    flex 1
    text-align left
    line-height 0.66rem
    padding-left 0.2rem
    margin 0.1rem 0.2rem
    border-radius 0.1rem
    background #fff
    color #ccc
  .header-right
    width 1.24rem
    .icon-arrow
      font-size 0.24rem
</style>